// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
jQuery.noConflict();
$(document).ready(function() {
$('form#cultural_heritage_incidences_form_search').submit(function() {
        $.ajax({
            url: $(this).attr('action'),
            type: 'POST',
            data: $(this).serialize(),
            complete: function(response) {
                $("#incidences_table").html(response.responseText);
                $( ".paginated_table" ).tablePagination({});
                $(".sorted_table").tablesorter();
            }

        });
        return false;
    });
    });